package cc.ucanuup.service.base.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import cc.ucanuup.common.jpa.BaseEntity;

/**
 * 文件名： com.bozhon.service.base.entity.MasterCode.java
 * 作者：   WenBin
 * 日期：   2017年10月26日
 * 功能说明：
 * =========================================================
 * 修改记录：
 * 修改作者    日期      修改内容
 * =========================================================
 *  Copyright (c) 2010-2011 .All rights reserved.
 */
@Table(name="TB_MASTER_CODE")
@Entity
public class MasterCode extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**字典启用状态1启用 0失效*/
	@Column(name="STATUS")
	private Integer status;
	/**字典编码*/
	@Column(name="DIC_CODE")
	private Integer dicCode;
	/**字典描述*/
	@Column(name="DIC_DESC")
	private String dicDesc;
	/**字典级别 0 父 1 子*/
	@Column(name="DIC_LEVEL")
	private Integer dicLevel;
	/**父ID 为本表的 关联（自关联）*/
	@Column(name="FATHER_ID")
	private String fatherId;
	/**字典备注信息*/
	@Column(name="REMARK")
	private String remark;
	@Column(name="DIC_KEY")
	private String dicKey;


	public Integer getStatus() {

		return status;
	}

	public void setStatus(Integer status) {

		this.status = status;
	}

	public Integer getDicCode() {

		return dicCode;
	}

	public void setDicCode(Integer dicCode) {

		this.dicCode = dicCode;
	}

	public String getDicDesc() {

		return dicDesc;
	}

	public void setDicDesc(String dicDesc) {

		this.dicDesc = dicDesc;
	}

	public Integer getDicLevel() {

		return dicLevel;
	}

	public void setDicLevel(Integer dicLevel) {

		this.dicLevel = dicLevel;
	}


	public String getFatherId() {

		return fatherId;
	}


	public void setFatherId(String fatherId) {

		this.fatherId = fatherId;
	}

	public String getRemark() {

		return remark;
	}


	public void setRemark(String remark) {

		this.remark = remark;
	}


	public String getDicKey() {

		return dicKey;
	}

	public void setDicKey(String dicKey) {

		this.dicKey = dicKey;
	}

}
